<link href="../core/resource/css/diy.css?v=32" rel="stylesheet">
<style>
body {
    line-height: 1.6;
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.btn {font-size: 15px;padding: 0 5px;margin:0}
.form-control {
    height: 40px;
    line-height: 30px;
}
</style>
<div style="margin-top:50px">
<center>
<p style="margin-top:50px;font-size: 20px;padding:10px">请在手机端打开…</p>
</center>
<div class="col-md-6" style="width:325px">
<div class="diy-phone">
				<div class="phone-head"></div>
				<div class="phone-body">
					<div class="phone-title" id="page">{{pagedata.title}}</div>
					<div class="phone-main ui-sortable" id="phone" style="background-color: rgb(243, 243, 243);">
						<iframe ng-src="{{pagedata.linkurl}}" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="400px" scrolling="auto" allowTransparency="true"></iframe>
					</div>
				</div>
				<div class="phone-foot"></div>
</div>
</div>
<div class="col-md-6" style="width:425px">
<div class="fe-phone-right"></div>
<div class="fe-panel" style="width:425px">
	<div class="diy-editor">
		<div class="form-group">
			<div class="fe-panel-editor-title">扫码预览</div>
			<div class="fe-panel-editor-line">
				<div style="margin-top:80px;margin-bottom:20px;margin-left:80px;width:275px">
					<div style="height:285px;margin-top:-22px;width:235px;box-sizing:border-box;border:solid 1px #ccc;padding:16px">
							<div id="qrcode-linkurl" ng-init="qrcode(pagedata,'linkurl','',200)">
							</div>
							<div style="margin-top:0px">
							<p style="text-align:center;font-size:16px">微信扫一扫</p>
							<p style="text-align:center;width:100%;color:#74b7e6;cursor:pointer;text-decoration:underline">下载二维码</p>
							</div>
					</div>
					<div class="input-group" style="margin-top:20px;width:235px">
						<input type="text" ng-model="pagedata.linkurl" class="form-control ng-pristine ng-valid ng-touched" autocomplete="off" readonly="readonly">
						<span class="input-group-btn">
							<button class="btn btn-info" type="button" ng-click="clip(pagedata.linkurl)">复制</button>
						</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>
<script>
$('#iframe').html('<iframe  src="'+window.scope.pagedata.linkurl+'" marginheight="0" marginwidth="0" frameborder="0" width="100%" scrolling="auto" allowTransparency="true"></iframe>');
</script>